package com.example.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.founder.ssm.core.model.BaseModel;
import com.founder.ssm.core.model.BaseModel;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author bxz
 * @since 2020-09-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Table(name="app_role")
public class AppRoleEntity extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * GUID
     */
    private String guid;

    /**
     * 创建时间
     */
    private LocalDateTime createddate;

    /**
     * 修改时间
     */
    private LocalDateTime modifieddate;

    /**
     * 只读标记
     */
    private String readonly;

    /**
     * 显示名称
     */
    private String displayname;

    /**
     * 排序
     */
    private Integer sortorder;

    private Long createduser;


}
